package com.chenguo.gulimall.order.feign;

import com.alipay.api.AlipayApiException;
import com.chenguo.gulimall.order.vo.PayVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("gulimall-third-party")
public interface ThridFeignService {


    /**
     *  这个暂时先没有
     * @param vo
     * @return
     * @throws AlipayApiException
     */
    @GetMapping(value = "/pay",consumes = "application/json")
    String pay(@RequestBody PayVo vo) throws AlipayApiException;

}
